<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>

<script src="js/jquery-1.7.1.min.js"></script>
<script src="js/backbone-min.js"></script>
</head>
<body>

<h2>GET (retrieve)</h2>
<form action="http://localhost:8080/seednia-webapp/ws/category/1" method="get">
accessToken: <input type="text"  id="accessToken" name="accessToken" value="XYZ"/>
<input type="submit" />
</form>


<h2>GET (list)</h2>
<form action="http://localhost:8080/seednia-webapp/ws/category" method="get">
<table>
	<tr>
		<td>accessToken</td>
		<td><input type="text"  id="accessToken" name="accessToken" value="XYZ"/></td>
	</tr>
	<tr>
		<td>kind</td>
		<td><input type="text"  id="kind" name="kind" value=""/></td>
	</tr>
	<tr>
		<td>type</td>
		<td><input type="text"  id="type" name="type" value=""/></td>
	</tr>
	<tr>
		<td>&nbsp;</td>
		<td><input type="submit" /></td>
	</tr>
</table>

</form>


<h2>POST (insert)</h2>
<form action="http://localhost:8080/seednia-webapp/ws/category" method="post">
<table>
	<tr>
		<td>accessToken</td>
		<td><input type="text"  id="accessToken" name="accessToken" value="XYZ"/></td>
	</tr>
	<tr>
		<td>record</td>
		<td><textarea id="record" name="record" >{"name":"r-name", "kind":"r-kind", "type":"r-type"}</textarea></td>
	</tr>


	<tr>
		<td>name</td>
		<td><input type="text" name="name" value="r-name" /></td>
	</tr>
	<tr>
		<td>kind</td>
		<td><input type="text" name="kind" value="r-kind" /></td>
	</tr>
	<tr>
		<td>type</td>
		<td><input type="text" name="type" value="r-type" /></td>
	</tr>

	<tr>
		<td>&nbsp;</td>
		<td><input type="submit" /></td>
	</tr>
</table>

</form>


<h2>PUT (insert)</h2>
<form action="" method="put">
accessToken: <input type="text"  id="accessToken" name="accessToken" value="XYZ"/>
record: <textarea id="record" name="record" >{"name":"r-name", "kind":"r-kind", "type":"r-type"}</textarea>
<input type="submit" />
</form>


</body>
</html>